package com.eastfair.pay.enums;

import lombok.Getter;

/**
 * 交易订单状态.
 *
 * @author fwl
 * @date 2023 /3/17
 */
@Getter
public enum TransactionOrderStatusEnum {

    /**
     * Payed transaction status enum.
     */
    USE("1", "有效"),

    /**
     * Cancel transaction status enum.
     */
    CANCEL("2", "无效"),
    /**
     * Cancel transaction status enum.
     */
    UPDATE("3", "修改")
    ;

    private String code;

    private String text;

    TransactionOrderStatusEnum(String code, String text) {
        this.code = code;
        this.text = text;
    }
}